<!doctype html>
{% extends "base.html" %}
{% block title %}用户设置{% endblock title %}

{% block page5_show %}show{% endblock page5_show %}
{% block page5.3_active %}active{% endblock page5.3_active %}

{% load Domain_filter %}

{% block main_content %}

<div>
    <form method="post" action="/user_setting">

        <div class="form-group row">
            <label class="col-form-label col-sm-4 text-sm-right">用户名称</label>
            <div class="col-sm-5">
                <input type="text" name="user" class="form-control"  readonly="readonly" value="{{ User.user }}">
            </div>
        </div>

        <div class="form-group row">
            <label class="col-form-label col-sm-4 text-sm-right">用户组</label>
            <div class="col-sm-5">
                <input type="text" name="group" class="form-control"  readonly="readonly" value="{{ User.group }}">
            </div>
        </div>

        <div class="form-group row">
            <label class="col-form-label col-sm-4 text-sm-right">密码</label>
            <div class="col-sm-5">
                <input type="password" name="password" class="form-control" value="">
            </div>
        </div>

        <div class="form-group row">
            <label class="col-form-label col-sm-4 text-sm-right">备注</label>
            <div class="col-sm-5">
                <textarea class="form-control" name="description" placeholder="备注" rows="3">{{ User.description }}</textarea>
            </div>
        </div>

        <div class="col-12 ml-auto text-center">
        <div><button type="submit" class="btn btn-primary">修改</button></div>
        </div>
    </form>
</div>

{% endblock main_content %}

{% block script %}
{% endblock script %}